<template>
  <basic-container>
    <el-tabs v-model="activeName">
      <el-tab-pane
        label="日统计"
        name="day"
      >
        <dayDiaryStatistics></dayDiaryStatistics>
      </el-tab-pane>
      <el-tab-pane
        label="月统计"
        name="month"
      >
        <monthDiaryStatistics></monthDiaryStatistics>
      </el-tab-pane>
    </el-tabs>
  </basic-container>
</template>
<script>
import dayDiaryStatistics from './components/diary/dayDiaryStatistics.vue';
import monthDiaryStatistics from './components/diary/monthDiaryStatistics.vue';
export default {
  components: {
    dayDiaryStatistics,
    monthDiaryStatistics,
  },
  data() {
    return {
      activeName: 'day',
    };
  },
};
</script>
